<div class="attention_height">
    <div class="attention_left">
        <p>已关注</p>
        <div class="attention_left_detal">
            <foreach name="result" item="each_res">
                <if condition="strstr($articles['user_interest'], $key.',')">
                    <button tagsID="{$key}" type="button">{$each_res}</button>
                </if>
            </foreach>
            <div></div>
        </div>
    </div>
    <div class="attention_right">
        <p>未关注</p>
        <div class="attention_right_detal">
            <foreach name="result" item="each_res">
                <if condition="!strstr($articles['user_interest'], $key.',')">
                    <button tagsID="{$key}" type="button">{$each_res}</button>
                </if>
            </foreach>
            <div></div>
        </div>
    </div>
</div>